package com.zxy.ziems.common.mqtt;

/**
 * @author 10348359
 * @create 2024-04-29 15:19
 */
public interface MqttMessageEncoder<T> {

    /**
     * 数据库消息编码为String
     * @param entity
     * @return
     */
    String mqttEncodeMessage(T entity);
}
